package com.ywk.pattern._14_observer._14_3;


public   class StockObserver extends Observer{


    public StockObserver(String name, Secretary sub) {
        super(name,sub);
    }

    @Override
    public void Update() {
        System.out.println(super.getSub().getAction()+super.getName()+"关闭股票，继续工作");
    }


}
